package net.suncaper.psychological.mapper;

import net.suncaper.psychological.model.domain.Appointment;
import java.util.List;

public interface AppointmentMapper {
    int insertAppointment(Appointment appointment);
    Appointment selectAppointmentByStudentId(String studentId);
    boolean cancelAppointment(Long appointmentId, String cancelReason);
    List<Appointment> selectHistoryAppointmentsByStudentId(String studentId);
    List<Appointment> selectAllAppointmentsByStudentId(String studentId);
    boolean updateAppointmentStatus(Long appointmentId, String status);
    int updateAppointmentArrangement(Long appointmentId, String scheduledTime, String scheduledPlace);
    List<Appointment> selectApprovedInitialAppointments();
} 